.class public Ldgb/k;
.super Ljava/lang/Object;
.source "SourceFile"


# instance fields
.field private final a:I

.field private final b:I

.field private final c:I

.field private final d:Ljava/lang/String;

.field private final e:Ljava/lang/Object;

.field private final f:Ljava/lang/String;

.field private g:I

.field private final h:Ljava/util/Date;

.field private final i:Ljava/lang/String;

.field private final j:Ljava/lang/String;

.field private final k:Ljava/lang/String;

.field private final l:Ljava/lang/String;

.field private final m:Ljava/lang/String;

.field private final n:Ljava/lang/String;

.field private final o:Ljava/lang/String;

.field private final p:Ljava/lang/String;

.field private final q:Ljava/lang/String;

.field private r:I


# direct methods
.method public constructor <init>(IIILjava/lang/String;ILjava/lang/Object;Ljava/lang/String;)V
    .locals 1

    .line 23
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-string v0, "rp"

    .line 24
    iput-object v0, p0, Ldgb/k;->i:Ljava/lang/String;

    const-string v0, "dt"

    .line 25
    iput-object v0, p0, Ldgb/k;->j:Ljava/lang/String;

    const-string v0, "dp"

    .line 26
    iput-object v0, p0, Ldgb/k;->k:Ljava/lang/String;

    const-string v0, "tag"

    .line 27
    iput-object v0, p0, Ldgb/k;->l:Ljava/lang/String;

    const-string v0, "ov"

    .line 28
    iput-object v0, p0, Ldgb/k;->m:Ljava/lang/String;

    const-string v0, "ev"

    .line 29
    iput-object v0, p0, Ldgb/k;->n:Ljava/lang/String;

    const-string v0, "p"

    .line 30
    iput-object v0, p0, Ldgb/k;->o:Ljava/lang/String;

    const-string v0, "t"

    .line 31
    iput-object v0, p0, Ldgb/k;->p:Ljava/lang/String;

    const-string v0, "ot"

    .line 32
    iput-object v0, p0, Ldgb/k;->q:Ljava/lang/String;

    .line 33
    iput p1, p0, Ldgb/k;->a:I

    .line 34
    iput p2, p0, Ldgb/k;->b:I

    .line 35
    iput p3, p0, Ldgb/k;->c:I

    .line 36
    iput-object p4, p0, Ldgb/k;->d:Ljava/lang/String;

    .line 37
    iput p5, p0, Ldgb/k;->g:I

    .line 38
    iput-object p6, p0, Ldgb/k;->e:Ljava/lang/Object;

    .line 39
    iput-object p7, p0, Ldgb/k;->f:Ljava/lang/String;

    .line 40
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object p1

    .line 41
    invoke-virtual {p1}, Ljava/util/Calendar;->getTimeZone()Ljava/util/TimeZone;

    move-result-object p2

    .line 42
    invoke-virtual {p1}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide p3

    invoke-virtual {p2, p3, p4}, Ljava/util/TimeZone;->getOffset(J)I

    move-result p2

    .line 43
    sget-object p3, Ldgb/o;->a:Ljava/util/TimeZone;

    invoke-virtual {p1}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide p4

    invoke-virtual {p3, p4, p5}, Ljava/util/TimeZone;->getOffset(J)I

    move-result p3

    sub-int/2addr p3, p2

    const/16 p2, 0xe

    .line 44
    invoke-virtual {p1, p2, p3}, Ljava/util/Calendar;->add(II)V

    .line 45
    invoke-virtual {p1}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object p1

    iput-object p1, p0, Ldgb/k;->h:Ljava/util/Date;

    const/4 p1, 0x0

    .line 46
    iput p1, p0, Ldgb/k;->r:I

    return-void
.end method

.method public constructor <init>(Landroid/os/Bundle;)V
    .locals 9

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-string v0, "rp"

    .line 2
    iput-object v0, p0, Ldgb/k;->i:Ljava/lang/String;

    const-string v1, "dt"

    .line 3
    iput-object v1, p0, Ldgb/k;->j:Ljava/lang/String;

    const-string v2, "dp"

    .line 4
    iput-object v2, p0, Ldgb/k;->k:Ljava/lang/String;

    const-string v3, "tag"

    .line 5
    iput-object v3, p0, Ldgb/k;->l:Ljava/lang/String;

    const-string v4, "ov"

    .line 6
    iput-object v4, p0, Ldgb/k;->m:Ljava/lang/String;

    const-string v5, "ev"

    .line 7
    iput-object v5, p0, Ldgb/k;->n:Ljava/lang/String;

    const-string v6, "p"

    .line 8
    iput-object v6, p0, Ldgb/k;->o:Ljava/lang/String;

    const-string v7, "t"

    .line 9
    iput-object v7, p0, Ldgb/k;->p:Ljava/lang/String;

    const-string v8, "ot"

    .line 10
    iput-object v8, p0, Ldgb/k;->q:Ljava/lang/String;

    .line 11
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Ldgb/k;->a:I

    .line 12
    invoke-virtual {p1, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Ldgb/k;->b:I

    .line 13
    invoke-virtual {p1, v2}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Ldgb/k;->c:I

    .line 14
    invoke-virtual {p1, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Ldgb/k;->d:Ljava/lang/String;

    .line 15
    invoke-virtual {p1, v5}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Ldgb/k;->f:Ljava/lang/String;

    .line 16
    invoke-virtual {p1, v6}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Ldgb/k;->g:I

    .line 17
    new-instance v0, Ljava/util/Date;

    invoke-virtual {p1, v7}, Landroid/os/Bundle;->getLong(Ljava/lang/String;)J

    move-result-wide v1

    invoke-direct {v0, v1, v2}, Ljava/util/Date;-><init>(J)V

    iput-object v0, p0, Ldgb/k;->h:Ljava/util/Date;

    .line 18
    invoke-virtual {p1, v4}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v8}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result p1

    invoke-direct {p0, v0, p1}, Ldgb/k;->a(Ljava/lang/String;I)Ljava/lang/Object;

    move-result-object p1

    iput-object p1, p0, Ldgb/k;->e:Ljava/lang/Object;

    const/4 p1, 0x0

    .line 19
    iput p1, p0, Ldgb/k;->r:I

    return-void
.end method

.method public constructor <init>(Ldgb/u;Ljava/lang/Object;)V
    .locals 8

    .line 20
    invoke-virtual {p1}, Ldgb/u;->a()I

    move-result v1

    invoke-virtual {p1}, Ldgb/u;->b()I

    move-result v2

    invoke-virtual {p1}, Ldgb/u;->c()I

    move-result v3

    .line 21
    invoke-virtual {p1}, Ldgb/u;->d()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {p1}, Ldgb/u;->e()I

    move-result v5

    const/4 v7, 0x0

    move-object v0, p0

    move-object v6, p2

    .line 22
    invoke-direct/range {v0 .. v7}, Ldgb/k;-><init>(IIILjava/lang/String;ILjava/lang/Object;Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/String;I)Ljava/lang/Object;
    .locals 1

    packed-switch p2, :pswitch_data_0

    goto :goto_1

    .line 11
    :pswitch_0
    invoke-virtual {p1}, Ljava/lang/String;->getBytes()[B

    move-result-object p1

    goto :goto_2

    .line 12
    :pswitch_1
    :try_start_0
    new-instance p2, Lorg/json/JSONObject;

    invoke-direct {p2, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 13
    sget-boolean p2, Ldgb/z;->d:Z

    if-eqz p2, :cond_0

    const-string p2, "stat.Event"

    const-string v0, "Failed to getOriginalValue!"

    .line 14
    invoke-static {p2, v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_1

    .line 15
    :pswitch_2
    new-instance p2, Ljava/math/BigDecimal;

    invoke-direct {p2, p1}, Ljava/math/BigDecimal;-><init>(Ljava/lang/String;)V

    goto :goto_0

    .line 16
    :pswitch_3
    new-instance p2, Ljava/math/BigInteger;

    invoke-direct {p2, p1}, Ljava/math/BigInteger;-><init>(Ljava/lang/String;)V

    :goto_0
    move-object p1, p2

    goto :goto_2

    .line 17
    :pswitch_4
    invoke-static {p1}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide p1

    invoke-static {p1, p2}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object p1

    goto :goto_2

    .line 18
    :pswitch_5
    invoke-static {p1}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F

    move-result p1

    invoke-static {p1}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object p1

    goto :goto_2

    .line 19
    :pswitch_6
    invoke-static {p1}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J

    move-result-wide p1

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    goto :goto_2

    .line 20
    :pswitch_7
    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result p1

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    goto :goto_2

    .line 21
    :pswitch_8
    invoke-static {p1}, Ljava/lang/Short;->parseShort(Ljava/lang/String;)S

    move-result p1

    invoke-static {p1}, Ljava/lang/Short;->valueOf(S)Ljava/lang/Short;

    move-result-object p1

    goto :goto_2

    .line 22
    :pswitch_9
    invoke-static {p1}, Ljava/lang/Byte;->parseByte(Ljava/lang/String;)B

    move-result p1

    invoke-static {p1}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;

    move-result-object p1

    goto :goto_2

    :cond_0
    :goto_1
    const/4 p1, 0x0

    :goto_2
    :pswitch_a
    return-object p1

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_9
        :pswitch_8
        :pswitch_7
        :pswitch_6
        :pswitch_5
        :pswitch_4
        :pswitch_3
        :pswitch_2
        :pswitch_a
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    .line 24
    invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v0

    .line 25
    invoke-static {p0, v0}, Ldgb/y;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    .line 26
    invoke-static {v0, p0, p1}, Ldgb/k;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method public static a(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;
    .locals 0

    .line 27
    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p0, p1, p2}, Ldgb/k;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method public static a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 2

    .line 28
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    :try_start_0
    const-string v1, "pkg"

    .line 29
    invoke-virtual {v0, v1, p0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "ver"

    .line 30
    invoke-virtual {v0, p0, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "key"

    .line 31
    invoke-virtual {v0, p0, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    .line 32
    :catch_0
    invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method private k()Ljava/lang/String;
    .locals 2

    .line 1
    iget-object v0, p0, Ldgb/k;->e:Ljava/lang/Object;

    instance-of v1, v0, [B

    if-eqz v1, :cond_0

    .line 2
    check-cast v0, [B

    invoke-static {v0}, Ljava/util/Arrays;->toString([B)Ljava/lang/String;

    move-result-object v0

    return-object v0

    .line 3
    :cond_0
    instance-of v1, v0, Lorg/json/JSONObject;

    if-eqz v1, :cond_1

    .line 4
    check-cast v0, Lorg/json/JSONObject;

    invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0

    .line 5
    :cond_1
    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method public a()Landroid/os/Bundle;
    .locals 4

    .line 1
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 2
    iget v1, p0, Ldgb/k;->a:I

    const-string v2, "rp"

    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 3
    iget v1, p0, Ldgb/k;->b:I

    const-string v2, "dt"

    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 4
    iget v1, p0, Ldgb/k;->c:I

    const-string v2, "dp"

    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 5
    iget-object v1, p0, Ldgb/k;->d:Ljava/lang/String;

    const-string v2, "tag"

    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 6
    iget v1, p0, Ldgb/k;->c:I

    iget-object v2, p0, Ldgb/k;->e:Ljava/lang/Object;

    invoke-static {v1, v2}, Ldgb/f;->a(ILjava/lang/Object;)I

    move-result v1

    const-string v2, "ot"

    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 7
    invoke-direct {p0}, Ldgb/k;->k()Ljava/lang/String;

    move-result-object v1

    const-string v2, "ov"

    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 8
    iget-object v1, p0, Ldgb/k;->f:Ljava/lang/String;

    const-string v2, "ev"

    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 9
    iget v1, p0, Ldgb/k;->g:I

    const-string v2, "p"

    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 10
    iget-object v1, p0, Ldgb/k;->h:Ljava/util/Date;

    invoke-virtual {v1}, Ljava/util/Date;->getTime()J

    move-result-wide v1

    const-string v3, "t"

    invoke-virtual {v0, v3, v1, v2}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V

    return-object v0
.end method

.method public a(I)V
    .locals 0

    .line 23
    iput p1, p0, Ldgb/k;->r:I

    return-void
.end method

.method public b()I
    .locals 1

    .line 1
    iget v0, p0, Ldgb/k;->a:I

    return v0
.end method

.method public b(I)V
    .locals 0

    .line 2
    iput p1, p0, Ldgb/k;->g:I

    return-void
.end method

.method public c()I
    .locals 1

    .line 1
    iget v0, p0, Ldgb/k;->b:I

    return v0
.end method

.method public d()I
    .locals 1

    .line 1
    iget v0, p0, Ldgb/k;->c:I

    return v0
.end method

.method public e()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/k;->d:Ljava/lang/String;

    return-object v0
.end method

.method public f()I
    .locals 1

    .line 1
    iget v0, p0, Ldgb/k;->g:I

    return v0
.end method

.method public g()Ljava/lang/Object;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/k;->e:Ljava/lang/Object;

    return-object v0
.end method

.method public h()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/k;->f:Ljava/lang/String;

    return-object v0
.end method

.method public i()Ljava/util/Date;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/k;->h:Ljava/util/Date;

    return-object v0
.end method

.method public j()I
    .locals 1

    .line 1
    iget v0, p0, Ldgb/k;->r:I

    return v0
.end method

.method public toString()Ljava/lang/String;
    .locals 3

    .line 1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "["

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v1, p0, Ldgb/k;->a:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, ":"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v2, p0, Ldgb/k;->b:I

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v2, p0, Ldgb/k;->c:I

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Ldgb/k;->d:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Ldgb/k;->h:Ljava/util/Date;

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Ldgb/k;->f:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Ldgb/k;->e:Ljava/lang/Object;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v1, "]"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
